package com.qf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.entity.Role;
import org.apache.ibatis.annotations.Select;

/**
 * 角色信息表(Role)表数据库访问层
 *
 * @author makejava
 * @since 2023-02-05 12:40:45
 */
public interface RoleMapper extends BaseMapper<Role> {

//    @Select("SELECT r.* FROM sys_user_role ur, sys_role r" +
//            " WHERE ur.role_id = r.id AND ur.user_id = #{uid}")
//    Role getRole(Integer userId);

}
